//package com.zwps.biz.controller.config;
//
//import org.springdoc.core.GroupedOpenApi;
//import org.springframework.beans.factory.annotation.Value;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//import com.zwps.common.controller.config.SwaggerProcessConfig;
//import com.zwps.common.controller.config.properties.ApplicationConfig;
//
//import lombok.AllArgsConstructor;
//
//@Configuration
//@AllArgsConstructor
//public class SystemSwagger3Config {
//
//    private ApplicationConfig applicationConfig;
//
//    private SwaggerProcessConfig swaggerConfig;
//
//    @Bean
//    public GroupedOpenApi systemGroup(@Value("${server.servlet.context-path:/}") String serverContextPath) {
//
//        return GroupedOpenApi.builder().addRouterOperationCustomizer(swaggerConfig.addApiPrefix).group(applicationConfig.getName()).pathsToMatch("/**").packagesToScan("com.zwps.biz.controller")
//                .addOperationCustomizer(swaggerConfig.addAuthorizationHeader()).build();
//    }
//}
